package cn.yitun.chat.yitunservercommonlib.dataentity.po.userchat;

import cn.yitun.chat.yitunservercommonlib.dataentity.po.common.FileBaseData;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 文件信息
 * 
 * @author yitun
 * @date 2014-12-25 11:09:32
 */
@Data
@NoArgsConstructor
public class UserHeadData extends FileBaseData implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long userId;

	public UserHeadData (int fileType , String urlPath , String fileNmae , String suffix) {
		this.setType(String.valueOf(fileType));
		this.setRootPath(""); //设置根路径为""
		this.setNodePath(urlPath);
		this.setSuffixName(suffix);
	}

}
